home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
002
/
chedit.arc
/
READMEP.BUG
< prev
next >
Wrap
Text File
|
1986-04-01
|
1KB
|
22 lines
There appears to be a bug in the IBM ROM BIOS and at least 1 clone BIOS
(the Zenith BIOS). When in high-res graphics mode (640 x 200), the BIOS will
correctly plot a character in the forground color, but it will not erase a
character when plotted in the background color. Instead, it plots the
character again in the forground color.
To work around this problem, a different version of the GRCHAR and GRATCHAR
routines are included in the file REPLACE.BUG. These versions see if the color
to be plotted is background (0), and if so, it plots a space (blank) instead
of the requested character. To use these routines, remove the original
routines from the PCHR.I include file and replace them with the new versions.
Another method of erasing these characters would be to use the XOR draw
available by adding 128 ($80 in hex, this sets the parity bit) to the
character color. This is not used in the bug fix, however, as calling the
routine in medium resolution (320 x 200) would need to know the original color
of the character to erase it.
If you know a better solution, or know why this bug exists, I would be
interested in hearing from you.
Thank you,
Your friendly neighborhood programmer